<!DOCTYPE html>
<html class="x-admin-sm">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row">
        <form class="layui-form" action="/updateGoods">
            <div class="layui-form-item">
                <label for="goodsId" class="layui-form-label">商品id</label>
                <div class="layui-input-inline">
                    <input type="text" id="goodsId" name="goodsId" required=""
                           autocomplete="off" class="layui-input" th:value="${goods.id}">
                </div>
            </div>
            <div class="layui-input-inline">
                <label for="goodsName" class="layui-form-label">商品名字</label>
                <div class="layui-input-inline">
                    <input type="text" id="goodsName" name="goodsName" required=""
                           autocomplete="off" class="layui-input" th:value="${goods.goodsName}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="goodsFactory" class="layui-form-label">商品厂家</label>
                <div class="layui-input-inline">
                    <input type="text" id="goodsFactory" name="goodsFactory" required=""
                           autocomplete="off" class="layui-input" th:value="${goods.goodsFactory}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="goodsModel" class="layui-form-label">商品规格</label>
                <div class="layui-input-inline">
                    <input type="text" id="goodsModel" name="goodsModel" required=""
                           autocomplete="off" class="layui-input" th:value="${goods.goodsModel}"></div>
                <div class="layui-form-mid layui-word-aux"></div>
            </div>
            <div class="layui-form-item">
                <label for="goodsSpecs" class="layui-form-label">商品型号</label>
                <div class="layui-input-inline">
                    <input type="text" id="goodsSpecs" name="goodsSpecs" required=""
                           autocomplete="off" class="layui-input" th:value="${goods.goodsSpecs}"></div>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn">确认更新</button>
            </div>
        </form>
    </div>
</div>
</body>

</html>